package com.xiaobawang.xjsyy_idea_plugin.util;

import java.util.List;

/**
 * @author synhard
 * @description list 工具类
 * @date 2024/6/11 13:38
 * @email songxinhang2023@e-chinalife.com
 * @id 18101119
 * @phone 13001321080
 */
public class ListUtil {
    public static boolean areListsEqual(List<Object> list1, List<Object> list2) {
        if (list1.size() != list2.size()) {
            return false;
        }
        for (int i = 0; i < list1.size(); i++) {
            if (!list1.get(i).equals(list2.get(i))) {
                return false;
            }
        }
        return true;
    }
}
